package org.jeecg.modules.rental.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import org.jeecg.modules.rental.entity.RentalScenicSpotRoute;
import org.jeecg.modules.rental.vo.PolylineVO;

import java.util.List;

/**
 * @Description: 景点线路规划
 * @Author: jeecg-boot
 * @Date:   2024-07-13
 * @Version: V1.0
 */
public interface IRentalScenicSpotRouteService extends IService<RentalScenicSpotRoute> {

    Boolean add(RentalScenicSpotRoute rentalScenicSpotRoute);

    IPage<RentalScenicSpotRoute> selectJoinPage(Page page, RentalScenicSpotRoute rentalScenicSpotRoute);

    Boolean edit(RentalScenicSpotRoute rentalScenicSpotRoute);

    PolylineVO polylineById(String id);

    Boolean savePolygon(RentalScenicSpotRoute rentalScenicSpotRoute);

    List<RentalScenicSpotRoute> queryByLocation(String latitude, String longitude);
}
